package com.bs.sc.mgr.goods.service;

import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.bs.sc.base.utils.AjaxJson;
import com.bs.sc.mgr.goods.entity.Goods;

public interface GoodsService {

	public Page<Goods> findGoodsList(Pageable pageable);

	public void addOrUpdateGoods(Goods goods);

	public void deleteGoods(Goods goods);

	public boolean deleteGoodsPic(Goods goods);

	public Goods getGoods(String id);

	public List<Map<String, String>> findCommentByGoodsId(String goodsId);

	public List<Goods> findBoutiqueGoods();

	public List<Goods> findAllGoods();

	public List<Goods> findByClassify(String classify);

	public AjaxJson getOrderGoods(HttpServletRequest request, String ids);
}
